package com.zw.yzk.kabu.data.network.entity;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by zhanwei on 2017/2/27.
 */

public class MallItemEntity extends Entity {

    @Expose
    @SerializedName("result")
    public Result result;

    public MallItemEntity() {
        result = new Result();
    }

    public static class Result {
        @Expose
        @SerializedName("homepage_list")
        public List<Type> typeList;
    }


    public static class Type {
        @Expose
        @SerializedName("list")
        public List<Item> itemList;
        @Expose
        @SerializedName("mallhomepagetype_content")
        public String comtent;
        @Expose
        @SerializedName("mallhomepagetype_icon_url")
        public String homeImge;
        @Expose
        @SerializedName("mallhomepagetype_id")
        public int type;
    }

    public static class Item {
        @Expose
        @SerializedName("mallhomepage_title")
        public String title;
        @Expose
        @SerializedName("mallhomepage_mallhomepagetype_id")
        public int type;
        @Expose
        @SerializedName("mallhomepage_id")
        public int id;
        @Expose
        @SerializedName("mallhomepage_subtitle")
        public String subTitle;
        @Expose
        @SerializedName("mallhomepage_link_type")
        public int linkType;
        @Expose
        @SerializedName("mallhomepage_cover_img_url")
        public String img;
        @Expose
        @SerializedName("mallhomepage_link_url")
        public String linkUrl;
    }
}
